package com.infosys.newSimpleInvertedIndex.enums;

public enum UploadTypeEnum {
    CONTENT_SUBMISSION(1, "resume"),
    OTHERS("others")
    ;
    int typeIndex;
    String fileHostName;

    UploadTypeEnum(int typeIndex, String fileHostName) {
        this.typeIndex = typeIndex;
        this.fileHostName = fileHostName;
    }
    // constructor for only upload to specified file host
    UploadTypeEnum(String fileHostName) {
        this.typeIndex = -1;
        this.fileHostName = fileHostName;
    }
    public int getTypeIndex() {
        return this.typeIndex;
    }

    public String getFileHostName() {
        return this.fileHostName;
    }

    public String setFileHostName(String fileHostName) {
        return this.fileHostName = fileHostName;
    }
}
